package Code;

import java.util.Arrays;

public class demo
{
    public static String SchoolName;
    public static String cards[] = new String[54];
    //静态代码块：有static修饰
    static
    {
        SchoolName = "北京工商大学";
        cards[0] = "A";
        cards[1] = "2";
        cards[2] = "3";
        System.out.println("静态代码块实行了！");
    }
    public static void main(String[] args)
    {
        System.out.println("main方法执行了");
        System.out.println(SchoolName);
        System.out.println(Arrays.toString(cards));
    }
}
